/**
 * Created by TRwin7SP1 on 2016/8/15.
 */
angular.module('inspinia')
  .controller('validatePrintCtrl',function ($scope,values,fileReader) {
      /*window.print();*/
    $('#printArea').jqprint();

    //病种列表
    $scope.parts =values.part;

    //获取加速器列表
    $scope.accelerators = values.accelerators;
    $scope.validateForm =JSON.parse(window.localStorage.getItem('validate'));
    var _newDate = new Date();
/*    var _year = _newDate.getFullYear();
    var _month = _newDate.getMonth();
    var _day = _newDate.getDay();*/

    /*$scope.validateForm = {
      patientname:'',
      patientid:'',
      part:'',
      planSystem:'',
      accelerator:'',
      validateType:'',
      dose:'',
      remarks:'',
      motif:'',
      matrixx:'',
      delta:'',
      film:'',
      result:'',
      passRate:'',
      // validateDate:_year+'年'+_month + '月' +_day +'日'
      validateDate:new Date()
    };*/
    console.log( $scope.validateForm);
  })





